package design_pattern.trigger.frame;

/**
 * @version 1.0.0
 * Created by cyd on 2022-08-29 17:08:46
 * @ClassName : design_pattern.trigger.frame.ProductEventType
 * @Description : 产品事件类型枚举，这里的产品事件类型多一个值就可以相对应的多一个事件触发类型
 */
public enum ProductEventType {
    NEW_PRODUCT(1),
    DEL_PRODUCT(2),
    EDIT_PRODUCT(3),
    CLONE_PRODUCT(4);
    private int value = 0;

    private ProductEventType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

}

